<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>指尖金融</title>
		<link href="../../../css/common.css" type="text/css" rel="stylesheet">
		<link href="../../../css/base.css" type="text/css" rel="stylesheet">
		<link href="logisticsCompany.css" type="text/css" rel="stylesheet">
		<link href="../../../res/png/icon.png" rel="shortcut icon"/>
		<link rel="stylesheet" type="text/css" href="../../../js/My97DatePicker/skin/WdatePicker.css" />
	</head>

	<body>
		<div class="wrapper">
			<!-- 顶部菜单栏 -->
			<div id="header" class="header">
			</div>
			<div class="main" id="main">
				<!-- 左侧菜单栏 -->
				<div id="leftMenu" class="left"></div>
				<div class="pages">
					<div class="table-section none page" id="searchLogisticsCompany">
						<p class="table-head">
							<label class="table-title">当前位置:物流公司管理</label>
							<input type="button" class="button-submit add_logisticsCompany" value="新增物流公司" />
						</p>
						<p class="table-search">
							<label for="" class="registerTime">添加时间：</label>
							<input class="field-input Wdate FromTime" type="text" id="addFromTime" name="createDateTimeBegin" placeholder="请输入时间" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false,readOnly:true,maxDate:'#F{$dp.$D(\'addToTime\',{d:0})}'})" />
							<input class="field-input Wdate ToTime"   type="text" id="addToTime"   name="createDateTimeEnd"  placeholder="请输入时间"  onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false,readOnly:true,minDate:'#F{$dp.$D(\'addFromTime\',{d:1})}'})"/>
							<label class="phoneNum">账号：</label>
							<input class="input-phoneNum" type="text" placeholder="公司账号" name="companyAccount" id="companyAccount"/>
							<label class="enterpriseName">公司名称：</label>
							<input class="input-enterpriseName" type="text" placeholder="请输入企业名称" name="companyName" id="companyName"/>
							<br />
							<label for="" class="isApproveLabel">是否提报：</label>
							<select class="isApprove"  name="reportState" id="reportState" >
								<option value="">全部</option>
								<option value="0">没有</option>
								<option value="1">有</option>
							</select>
							<label for="" class="status">账户状态：</label>
							<select class="sel-status"  name="effective" id="effective">
								<option value="">全部</option>
								<option value="0">无效</option>
								<option value="1">有效</option>
							</select>
							<button class="table-search-button">查询</button>
						</p>
						<table class="table">
							<thead>
								<tr class="">
									<th class="" width="15%">添加时间</th>
									<th class="" width="15%">公司账号</th>
									<th class="" width="20%">登陆账号</th>
									<th class="" width="20%">是否直报</th>
									<th class="" width="10%">账户状态</th>
									<th class="" width="10%">操作</th>
								</tr>
							</thead>
							<tbody id="logisticsCompanyListBody">
							</tbody>
							<script type="text/template" id="logisticsCompanyListTpl">
								{@each datas as it}
								<tr class="tr_style table-data" companyId="${it.companyId}">
									<td class="pl10">${it.createDateTime}</td>
									<td class="pl10">${it.companyAccount}</td>
									<td class="pl10">${it.companyName}</td>
									<td class="pl10">
										{@if it.reportState===0}
										没有
										{@else if it.reportState===1}
										有
										{@/if}
									</td>
									<td class="pl10">
										{@if it.effective===0}
										无效
										{@else if it.effective===1}
										有效
										{@/if}
									</td>
									<td class="pl10">
										<span class="table_details_link">详情 </span>
										<span class="table_bar">| </span>
										<span class="table_delete_btn" >删除 </span>
									</td>
								</tr>
								{@/each}
							</script>
						</table>
						<div id="pagenation" class="pagerCon"></div>
					</div>
				</div>
				<div id="popdialog"></div>
			</div>
			<!-- 底部 -->
			<div class="footer none" id="footer">底部栏</div>
			<!--删除确认框-->
			<div id="popdialog">
			</div>
		</div>
		<script type="text/javascript" src="../../../js/jquery-1.11.1.min.js"></script>
		<script type="text/javascript" src="../../../js/seajs/sea.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-text.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-css.js"></script>
		<script type="text/javascript" src="../../../js/platform/config.js"></script>
		<script type="text/javascript" src="../../../js/juicer-min.js"></script>
		<script src="../../../js/ajaxfileupload.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../js/My97DatePicker/WdatePicker.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			seajs.use('./logisticsCompany', function(logisticsCompany) {
				logisticsCompany.init(4);
			});
		</script>
	</body>

</html>